// require('babel-core/register')
// require('babel-polyfill')
// require('./decorator')
const { resolve } = require('path')
const r = path => resolve(__dirname, path)

const koa = require('koa')
const koaStatic = require('koa-static')
const app = new koa()
app.use(koaStatic(r('../dist')))
app.listen(8888, () => {
  console.log('server run on port 8888')
})

